package own;
import entity.Entity;
import own.interfaces.KenFunction;
import toolkit.LambdaUtils;
import toolkit.SerializedLambda;

/**
 * <ul>
 * <li>Title: Chinese</li>
 * <li>Description: 语言:中文  </li>
 * </ul>
 *
 * @author 程序员ken
 * @date 2021/4/29 0029 下午 16:06
 */
public  class Chinese<T> extends AbstractLanguage<T,Chinese, KenFunction<T,?>, Entity> {

    @Override
    public Chinese speak(KenFunction<T, ?> var1, Entity content) {
        SerializedLambda resolve = LambdaUtils.resolve(var1);
        System.out.println("------------------------------------中文------------------------------------");
        System.out.println("书名:重构代码\r\n");
        System.out.println("作者:杰克\r\n");
        System.out.println("出版社:北京出版社\r\n");
        return this;
    }
}
